import { Modifier } from "../../base/Modifier";
import { CalcDimension } from "../../entity/CalcDimension";

export class MarginModifier extends Modifier {
    static identity = Symbol("margin");

    applyPeer(node: any, jsValue: any) {

        //入参检测
        if (jsValue === null || jsValue === undefined) {
            console.log("Setoffset: The first param type is not invalid.");
            return;
        }
        if (super.CheckJs4SideValue(jsValue)) {
            //  SetMargins(jsValue);
        } else {
            console.log("SetMargins: error.");
        }
        console.log(jsValue);
    }
} 